import 'package:aidw_ui/pages/about/binding.dart';
import 'package:aidw_ui/pages/about/view.dart';
import 'package:aidw_ui/pages/home/binding.dart';
import 'package:aidw_ui/pages/home/view.dart';
import 'package:aidw_ui/pages/login/binding.dart';
import 'package:aidw_ui/pages/login/view.dart';
import 'package:aidw_ui/pages/welcome/binding.dart';
import 'package:aidw_ui/pages/welcome/view.dart';
import 'package:get/get.dart';

class RouteGet{
  // 页面名称
  static const String aboutPage = '/about';
  static const String homePage = "/homePage";
  static const String loginPage = "/loginPage";
  static const String welcomePage = "/welcomePage";
  
  static final List<GetPage> getPages = [
    GetPage(name: aboutPage, page: ()=> AboutPage(), binding: AboutBinding()),
    GetPage(name: homePage, page: () => HomePage(), binding: HomeBinding()),
    GetPage(name: loginPage, page: () => LoginPage(), binding: LoginBinding()),
    GetPage(name: welcomePage, page: () => WelcomePage(), binding: WelcomeBinding()),
  ];
}